package com.zzti.contril;

import java.util.ArrayList;
import java.util.List;

import com.zzti.Dao.EmployeeDao;
import com.zzti.Thired.Employee;
import com.zzti.impl.EmployeeDaoimpl;

public class Maim {
	public static void main(String[] args) {
		List<Employee> list=new ArrayList<>();
		EmployeeDao em=new EmployeeDaoimpl();
		list=em.getAll();
		for(Employee mp:list) {
			System.out.print(mp.getName());
		}
	}

	

}